<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>m京东首页</title>
    <link rel="stylesheet" href="./css/index.css" />
    <link rel="stylesheet" href="./swiper/swiper-bundle.css" />
  </head>
  <body>
    <div class="body">
      <!-- 头部 -->
      <header class="jd_header">
        <div class="jd_header_box">
          <div class="logo"></div>
          <form action="#">
            <span class="search_img"></span>
            <input type="search" placeholder="提示" />
          </form>
          <div class="login">登录</div>
        </div>
      </header>
      <!-- 轮播图 -->
      <div class="swiper">
        <div class="swiper-container swiper-box">
          <div class="swiper-wrapper">
            <div class="swiper-slide"><img src="images/l1.jpg" alt="" /></div>
            <div class="swiper-slide"><img src="images/l2.jpg" alt="" /></div>
            <div class="swiper-slide"><img src="images/l3.jpg" alt="" /></div>
            <div class="swiper-slide"><img src="images/l4.jpg" alt="" /></div>
            <div class="swiper-slide"><img src="images/l5.jpg" alt="" /></div>
            <div class="swiper-slide"><img src="images/l6.jpg" alt="" /></div>
            <div class="swiper-slide"><img src="images/l7.jpg" alt="" /></div>
            <div class="swiper-slide"><img src="images/l8.jpg" alt="" /></div>
        </div>
        <!-- 如果需要分页器 -->
        <div class="swiper-pagination"></div>
      </div>
      </div>
      <!-- 导航 -->
      <div class="nav">
        <ul>
          <li>
            <a href="#">
              <img src="images/nav0.png" alt="" />
              <p>分类查询</p>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="images/nav1.png" alt="" />
              <p>物流查询</p>
            </a>
          </li>
          <li>
            <a href="car.html">
              <img src="images/nav2.png" alt="" />
              <p>购物车</p>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="images/nav3.png" alt="" />
              <p>我的京东</p>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="images/nav4.png" alt="" />
              <p>充值</p>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="images/nav5.png" alt="" />
              <p>领券中心</p>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="images/nav6.png" alt="" />
              <p>京东超市</p>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="images/nav7.png" alt="" />
              <p>我的关注</p>
            </a>
          </li>
        </ul>
      </div>
      <!-- 掌上秒杀 -->
      <main class="jd_product">
        <section class="jd_product_box jd_secondKill">
          <div class="product_top no_bor">
            <div class="jd_secondKill_left">
              <span class="sk_icon"></span>
              <h4 class="sk_name">掌上秒杀</h4>
              <div class="sk_time">
                <span class="num">0</span>
                <span class="num">0</span>
                <span class="str">:</span>
                <span class="num">0</span>
                <span class="num">0</span>
                <span class="str">:</span>
                <span class="num">0</span>
                <span class="num">0</span>
              </div>
            </div>
            <div class="jd_secondKill_right">
              <a href="#">更多></a>
            </div>
          </div>
          <div class="product_bot">
            <ul class="clearfix">
              <li>
                <a href="#">
                  <div class="img_box">
                    <img src="images/detail02.jpg" alt="" />
                  </div>
                  <p class="new_price">￥20.00</p>
                  <p class="old_price">￥200.00</p>
                </a>
              </li>
              <li>
                <a href="#">
                  <div class="img_box">
                    <img src="images/detail02.jpg" alt="" />
                  </div>
                  <p class="new_price">￥20.00</p>
                  <p class="old_price">￥200.00</p>
                </a>
              </li>
              <li>
                <a href="#">
                  <div class="img_box">
                    <img src="images/detail02.jpg" alt="" />
                  </div>
                  <p class="new_price">￥20.00</p>
                  <p class="old_price">￥200.00</p>
                </a>
              </li>
            </ul>
          </div>
        </section>
        <section class="jd_product_box jd_pd">
          <div class="product_top">
            <h3>超值购</h3>
          </div>
          <div class="product_bot clearfix">
            <a class="p_left b_right" href="#">
              <img src="images/cp1.jpg" alt="" />
            </a>
            <a class="p_right b_bottom" href="#">
              <img src="images/cp2.jpg" alt="" />
            </a>
            <a class="p_right" href="#">
              <img src="images/cp3.jpg" alt="" />
            </a>
          </div>
        </section>
        <section class="jd_product_box jd_pd">
          <div class="product_top">
            <h3>超值购</h3>
          </div>
          <div class="product_bot clearfix">
            <a class="p_right b_left" href="#">
              <img src="images/cp4.jpg" alt="" />
            </a>
            <a class="p_left b_bottom" href="#">
              <img src="images/cp5.jpg" alt="" />
            </a>
            <a class="p_left" href="#">
              <img src="images/cp6.jpg" alt="" />
            </a>
          </div>
        </section>
      </main>
    <script src="./js/jquery-3.7.1.js"></script>
    <script src="./swiper/swiper-bundle.js"></script>
    <script src="./js/index.js"></script>
  </body>
  <script>
    var mySwiper = new Swiper(".swiper-container", {
      direction: "horizontal", // 水平切换选项
      loop: true, // 循环模式选项
      autoplay: true, //可选选项，自动滑动
      // 如果需要分页器
      pagination: {
        el: ".swiper-pagination",
      },
    });
  </script>
</html>
